	  <ion-view view-title="注册" class="xg-sign-view">
          <ion-nav-buttons side="left">
              <a class="ion-ios-arrow-back" href="#/signin"></a>
          </ion-nav-buttons>
	  <ion-content class="xg-sign-content">
	    <div class="xg-sign-pic xg-signup-pic">
	        <img src="../www/img/sign/logo_sign.png" alt="logo" class="xg-head-pic"  >
	    </div>
	    <div class="list ">
        <ng-form name="staffForm">
	    	<label class="item item-input item-floating-label">
	    		<span class="input-label">姓名</span>
	    		<input type="text" ng-model="staff.name" placeholder="姓名" ng-minlength="2" ng-maxlength="3" required>
	    	</label>
        <label class="item item-input item-floating-label">
          <span class="input-label">手机号</span>
          <input type="text" ng-minlength="11" ng-maxlength="11" ng-model="staff.phone" placeholder="手机号" required>
        </label>

	    	<label class="item item-input item-floating-label">
	    		<span class="input-label">密码</span>
	    		<input type="password" ng-model="staff.password" ng-minlength="6" placeholder="密码" required>
	    	</label>
	    	<label class="item item-input item-floating-label">
	    		<span class="input-label">密码确认</span>
	    		<input type="password" ng-model="info.password" ng-minlength="6" placeholder="密码确认">
	    	</label>
        <label class="item item-input  item-select">
          <span class="input-label">性别</span>
          <select  ng-options="s.id as s.sex for s in sexes"  ng-model="staff.sex" required></select>
        </label>
        <label class="item item-input  item-select">
          <span class="input-label">科室</span>
          <select  ng-options="department.id as department.name for department in departments" ng-model="staff.departmentid" required></select>
        </label>
        <label class="item item-input item-select">
          <span class="input-label">在职状态</span>
          <select  ng-options="status.id as status.name for status in statuses" ng-model="staff.status" required></select>
        </label>
	    	<button class="button button-full xg-sign-btn" ng-click="submit()" ng-disabled="staffForm.$invalid">
                    注册
	    	</button>
        </ng-form>
	    </div>
	  </ion-content>
	</ion-view>

